class ReferenceConstraintAdd < ActiveRecord::Migration
  def up
    add_index :references, [:name, :composite_name], :unique=>true
  end
  

  def down
    remove_index :references, [:name, :composite_name]
  end
end
